#include <iostream>
using std::cout;
using std::endl;

void test0(){
    int a = 0x123456;
    char *p = (char*) &a;
    printf("%x\n",*p);
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


